<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Workorder/index')}">生产工序</a></li>
        <li><a href="{:U('Workorder/add')}">新增工序</a></li>
    </ul>
    <form class="well form-search" method="post" action="#">
        关键字
        <input name="keyword" style="width: 200px;" value="" placeholder="请输入编号/名称..." type="text">
        <button class="btn btn-primary">搜索</button>
        <a class="btn btn-danger" href="/produce/index.php?g=Portal&m=AdminPage&a=index">清空</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th width="50">ID</th>
                <th width="100">工序编号</th>
                <th width="150">部门</th>
                <th style="min-width: 60px;">工序名称</th>
                <th>工序内容</th>
                <!--<th width="120">参考单价</th>-->
                <th width="120">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>1</td>
                <td>A1111</td>
                <td>安装部</td>
                <td>安装轮胎</td>
                <td>安装轮胎咋样咋样那噶</td>
                <td>
                    <a href="{:U('Workorder/edit',array('id'=>$vo['id']))}">编辑</a>
                    <a href="{:U('Workorder/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                </td>
            </tr>
            <foreach name="list" item="vo">
                <tr>
                    <td>1</td>
                    <td>A1111</td>
                    <td>安装部</td>
                    <td>安装轮胎</td>
                    <td>安装轮胎咋样咋样那噶</td>
                    <td>
                        <a href="{:U('Workorder/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">编辑</a>
                        <a href="{:U('Workorder/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js?"></script>
</body>
</html>